<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
    <div id="app">
        <button class="btn1" v-on:click="index--">上一页</button>
        <div v-html="dataList[index]"></div>
        <button class="btn2" @click = "index++">下一页</button>
    </div>
    <script src="../vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                dataList:[
                    "你好","我不太好","真的不太哈吗","哈哈哈哈 骗你的"
                ],
                index: 0
            }
        });
    </script>
</body>
</html>